//
//  UIColor+Extension.h
//  SouWeiLaiSwift
//
//  Created by yxl on 2022/4/11.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIColor (Extension)
/// color：支持@“#123456”、 @“0X123456”、 @“123456”三种格式
+ (UIColor*)hexColor:(NSString*)hex alpha:(CGFloat)alpha;

/** 判断颜色是否相同 */
- (BOOL)isEqualColor:(UIColor *)color;
@end

NS_ASSUME_NONNULL_END
